<?php
/**
 *  Form Parser Interface
 *
 */
interface Yz_Form_Parser_Interface
{


    /**
     *  @param Yz_Form_Interface $form
     *  @param mixed $values : array-type
     *  @return
     *  @throw Yz_Form_Parser_Exception
     */
    public function parse(Yz_Form_Interface $form, $values=null);
    public function getErrors();
}
